package day02;

public class DataTypeDemo {
    public static void main(String[] args) {
        byte a=6;
        byte a1=32;
        byte a2=(byte) (a+a1);
        System.out.println(1+1);//2
        System.out.println(1+'1');//50
        System.out.println('1'+'1');//98
        System.out.println('1');//1
        /*
        double a=2300000000.12;
        long i=(long) a;
        System.out.println(i);
        int a1=3;
        long b=a1;
        int c=(int)b;
        long d=5;
        double e=5;
        System.out.println(e);
        long f=10000000000L;
        int g=(int) f;


        char a='a';
        char b='z';
        char c='A';
        char d='Z';
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
        System.out.println(d);
        int a1='a';
        System.out.println(a1);

        boolean a=true;
        boolean b=false;
        //boolean c=2;

        double a=12.546;
        float b=12.456F;
        double c=8.2,d=5.6;
        System.out.println(c-d);


        long a=25L;
        long b=10000000000L;
        long c=365L*24*60*60*1000;
        System.out.println(c);

        long d=1000000000*2*10L;
        System.out.println(d);
        long e=1000000000*3*10L;
        System.out.println(e);
        long f=1000000000L*3*10;
        System.out.println(f);


        int a=20;
        System.out.println(5/2);
        System.out.println(2/5);
        System.out.println(5/2.0);
        int d=2147483647;
        d=d+1;
        System.out.println(d);
        */
    }
}
